import { createEnum } from './utils/createEnum';
export const PRESET_DATA = {
  /**
   * 默认还款金额
   */
  total: process.env.MORTGAGE_TOTAL,
  /**
   * 默认年利率
   */
  annualInterestRate: process.env.ANNUAL_INTEREST_RATE,
};

// 还款方式 0:等额本金 1:等额本息
export const REPAYMENT_TYPE = createEnum([
  ['EQUAL_PRINCIPAL', 0, '等额本金'],
  ['EQUAL_INSTALLMENT', 1, '等额本息'],
]);
